-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
store env-var response #21327
store env-var response #21327
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we set the logs to debug instead?
@benmoriceau I think we should. I'm planning on cleaning this quick-fix up in a separate pr (if I can ever get these checks to pass on this pr 😞) I changed it to |
* store env-var response * fix formatting * fix pmd issue * change log message to debug * fix file change error
What
How
Note
This is the quick fix, I'll create a long-term fix later today that will cache the env-var results within the
EnvVariableFeatureFlags
class itself. That way the real env-var is only checked once and the log message would only be generated once.